@import '../../../common/style/mixin.less';
.autoHeightPanel {
  max-height: 820px;
  // max-height: 850px;
  height: 820px;
  // height: 850px;
  // max-height: calc(100vh - 200px);
  padding-left: 16px;
  padding-top: 16px;
  overflow-y: auto;
  .beautify-scrollbar();
}

.qualityAndSafetyL {
}

.qualityAndSafetyR {
  .rate {
    border-bottom: 1px solid rgba(#fff, 0.12);
    margin-bottom: 16px;
    p {
      font-size: 18px;
      margin-bottom: 8px;
    }
    .bar {
      width: 304px;
      height: 32px;
      line-height: 32px;
      font-size: 12px;
      border-radius: 2px;
      border: 1px solid rgba(#ffffff, 0.12);
      overflow: hidden;
      padding-left: 7px;
      background-size: 60%;

      background-color: rgba(255, 255, 255, 0.1);
      background-image: linear-gradient(270deg, #2fb0ff 0%, rgba(61, 251, 255, 0.45) 100%);
      background-repeat: no-repeat;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      transition: background-size 0.4s linear;
    }
    .num {
      line-height: 32px;
    }
    .info {
      line-height: 38px;
      color: #ffffff;
      padding: 0 16px;
      margin: 16px 0;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 16px 2px 16px 2px;
      span {
        color: #2fb0ff;
      }
    }
  }
  .blockTitle {
    font-size: 18px;
    margin-bottom: 16px;
  }

  :global {
    .ant-table {
      background: transparent;
      color: rgba(#fff, 1);
    }

    .ant-table-small .ant-table-thead > tr > th {
      color: rgba(#fff, 0.7);
      background: rgba(#fff, 0.1);
      border-bottom: 0px solid rgba(#ffffff, 0.12);
      padding: 1px 8px !important;
    }

    .ant-table-tbody > tr > td {
      color: rgba(#2fb0ff, 0.7);
      border-bottom: 1px dashed rgba(#ffffff, 0.12);
    }

    .ant-table-tbody > tr.ant-table-row:hover > td {
      background: rgba(#fafafa, 0.1);
    }

    .ant-table-cell-scrollbar {
      box-shadow: unset;
    }

    .ant-table-body {
      &::-webkit-scrollbar {
        width: 6px;
        height: 6px;
        background-color: transparent;
      }

      &::-webkit-scrollbar-thumb {
        border-radius: 2px;
        background-color: rgba(#fafafa, 0.4);
      }
    }
  }
}

.legend {
  overflow: auto !important;
  .beautify-scrollbar();
  :global {
    .esri-widget__heading {
      color: rgba(#fff, 0.8);
      margin-bottom: 2px;
    }
    .esri-legend__layer-caption {
      display: none;
    }
  }
}
